class ArenaPlayerInput extends UTPlayerInput;

var PrivateWrite IntPoint MousePosition;

event PlayerInput(float DeltaTime)
{
    if (ArenaHud(myHUD) == none)
    {
        super.PlayerInput(DeltaTime);
        return;
    }

    MousePosition.X = Clamp(MousePosition.X + aMouseX, 0, myHUD.SizeX);
    MousePosition.Y = Clamp(MousePosition.Y - aMouseY, 0, myHUD.SizeY);

    super.PlayerInput(DeltaTime);
}

DefaultProperties
{
}
